const { WinexInpatientWardGenerator, WinexInpatientRoomGenerator } = require("../../../src/dataGeneration");

(async function () {
    const wardGenerator = new WinexInpatientWardGenerator();
    let wards = await wardGenerator.getWards();
    wards = wards.filter(ward => ward.wardName.includes("性能"));
    let ward = wards[0];
    let roomGenerator = new WinexInpatientRoomGenerator();
    let rooms = await roomGenerator.getRooms(ward);
    console.log("-----------------rooms-----------------");
    console.log(rooms);
})();
